package com.ckzp.jfinal.system.validate;

import com.ckzp.jfinal.base.Validator;
import com.jfinal.core.Controller;

/**
 * Created by wuyang(51594) on [date].
 */
public class SysAppValidator extends Validator {

    protected void validate(Controller controller) {
        validateRequiredString("app_name", "应用名不能为空!");
        validateRequiredString("app_id", "调用ID不能为空!");
        validateRequiredString("app_secret", "调用密码不能为空!");
    }
}